//
//  Async.h
//  Async
//
//  Created by world on 13-6-5.
//  Copyright (c) 2013年 world. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AsyncTask.h"
#import "Async+Private.h"

@interface Async : NSObject

+(AsyncTask*)asyncTask:(void(^)(void)) task;

/**在后台线程处理任务，任务处理结束后，在主线程调用callback*/
+(AsyncTask*)asyncTask:(id(^)(void)) task withCallBack:(SEL) callBack onTarget:(id) target;





@end
